﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Zhongjiu.Model.Zhongjiu
{
    ///<summary>
    ///配送单明细
    ///</summary>

    [SugarTable("ZJ_DeliveryOrderItem","Zhongjiu")]
    public partial class DeliveryOrderItem
    {
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public long Id {get;set;}

           /// <summary>
           /// Desc:配送单ID
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public long DeliveryId {get;set;}

           /// <summary>
           /// Desc:商品ID
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public long ProductId {get;set;}

           /// <summary>
           /// Desc:配送数量
           /// Default:0.000
           /// Nullable:False
           /// </summary>           
           public decimal Number {get;set;}

           /// <summary>
           /// Desc:配送入库数量
           /// Default:0.000
           /// Nullable:False
           /// </summary>           
           public decimal InNumber {get;set;}

           /// <summary>
           /// Desc:含税配送价
           /// Default:0.00
           /// Nullable:False
           /// </summary>           
           public decimal VATinclusive {get;set;}

           /// <summary>
           /// Desc:不含税配送价
           /// Default:0.00
           /// Nullable:False
           /// </summary>           
           public decimal NVATinclusive {get;set;}

           /// <summary>
           /// Desc:配送税额
           /// Default:0.00
           /// Nullable:False
           /// </summary>           
           public decimal Tax {get;set;}

           /// <summary>
           /// Desc:备注
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Remark {get;set;}

           /// <summary>
           /// Desc:即时库存数量
           /// Default:0.000
           /// Nullable:False
           /// </summary>           
           public decimal Stock {get;set;}

           /// <summary>
           /// Desc:配送中心出库商品ID
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public long DistriProductId {get;set;}

           /// <summary>
           /// Desc:含税总金额
           /// Default:0.00
           /// Nullable:True
           /// </summary>           
           public decimal? VATinclusiveTotalPrice {get;set;}

           /// <summary>
           /// Desc:不含税总金额
           /// Default:0.00
           /// Nullable:True
           /// </summary>           
           public decimal? NVATinclusiveTotalPrice {get;set;}

           /// <summary>
           /// Desc:赠品数量
           /// Default:0.00
           /// Nullable:True
           /// </summary>           
           public decimal? GiftNumber {get;set;}

    }
}